home *** CD-ROM | disk | FTP | other *** search
/ MacHome 2001 January / MacHome Magazine Demo Disc January 2001.iso / mac / Software / Networking / InterMapper 3.0 - PPC.sea / InterMapper 3.0 - PPC / InterMapper™ 3.0-PPC / InterMapper™ 3.0-PPC.rsrc / PrTy_143_com.dartware.tcp.4D < prev    next >
Encoding:
Text File  |  2000-07-24  |  1.1 KB  |  47 lines

  1. <!-- 
  2.     4D Database Server (com.dartware.tcp.4D)
  3.     Copyright © 2000 Dartware, LLC. All rights reserved.
  4. -->
  5.  
  6. <header>
  7.     type            =     "tcp-script"
  8.     package            =     "com.dartware"
  9.     probe_name        =    "tcp.4D"
  10.     human_name        =    "4D Server"
  11.     version            =     "1.1"
  12.     address_type    =     "IP"
  13.     port_number        =    "19813"
  14. </header>
  15.  
  16. <description>
  17.  
  18. ≤GB≥4D Server Probe≤P≥
  19.  
  20. This probe attempts to connect to a 4D server listening on port 19813. If the response contains the «i»database name«p», the probe exits with OKAY status; if not, the result is WARN. If no response arrives within «i»timeout«p», the probe exits with a WARN status. 
  21.  
  22. </description>
  23.  
  24. <parameters>
  25.  
  26. "database name"                            =        ""
  27. "timeout"                                =        "15"
  28. </parameters>
  29.  
  30. <script>
  31.  
  32. CONN #60 (connect timeout in secs)
  33. IDLE ${timeout} @IDLE
  34. CHCK "${database name}" @MISCONFIGURED
  35. LINE OFF
  36. EXPT "${database name}"i else #+2
  37. DONE OKAY 
  38. DONE ALRM "[4D Server] Database '${database name}' not available"
  39.  
  40. @IDLE
  41. DONE WARN "[4D Server] No response received after 15 seconds"
  42.  
  43. @MISCONFIGURED
  44. DONE ALRM "[4D Server] Database name parameter must not be empty."
  45.  
  46. </script>
  47.